<?php
/**
 * Clase Base Bean para BaseSoDeliveryBN
 *
 * @package    Sedapal
 * @subpackage BaseSoDeliveryBN
 * @author     hans
 * @version    SVN:: BaseSoDeliveryBN.class.php,v 1.1 2012-05-01 22:31:38 Hans.parra Exp $
 */
abstract class BaseSoDeliveryBN
{
  protected $Id;
  protected $Tipo;
  protected $DlvNum;
  protected $AlmId;
  protected $ClienteId;
  protected $ClienteNombre;
  protected $Contacto;
  protected $DocReferNum;
  protected $FacturaNum;
  protected $Moneda;
  protected $FechaRequerida;
  protected $FechaProgramada;
  protected $FechaSalida;
  protected $Flete;
  protected $TotalBruto;
  protected $Neto;
  protected $Obs;
  protected $Status;
  protected $CreaUsr;
  protected $CreaFecha;
  protected $ModifUsr;
  protected $ModifFecha;
  protected $Mensaje;
  protected $Error;
  public    $numeroRegistros;  
  
  public function getId(){
    return $this->Id;
  }
  public function setId($v1){
    $this->Id = $v1; 
  }

  public function getTipo(){
    return $this->Tipo;
  }
  public function setTipo($v1){
    $this->Tipo = $v1; 
  }

  public function getDlvNum(){
    return $this->DlvNum;
  }
  public function setDlvNum($v1){
    $this->DlvNum = $v1; 
  }

  public function getAlmId(){
    return $this->AlmId;
  }
  public function setAlmId($v1){
    $this->AlmId = $v1; 
  }

  public function getClienteId(){
    return $this->ClienteId;
  }
  public function setClienteId($v1){
    $this->ClienteId = $v1; 
  }

  public function getClienteNombre(){
    return $this->ClienteNombre;
  }
  public function setClienteNombre($v1){
    $this->ClienteNombre = $v1; 
  }

  public function getContacto(){
    return $this->Contacto;
  }
  public function setContacto($v1){
    $this->Contacto = $v1; 
  }

  public function getDocReferNum(){
    return $this->DocReferNum;
  }
  public function setDocReferNum($v1){
    $this->DocReferNum = $v1; 
  }

  public function getFacturaNum(){
    return $this->FacturaNum;
  }
  public function setFacturaNum($v1){
    $this->FacturaNum = $v1; 
  }

  public function getMoneda(){
    return $this->Moneda;
  }
  public function setMoneda($v1){
    $this->Moneda = $v1; 
  }

  public function getFechaRequerida(){
    return $this->FechaRequerida;
  }
  public function setFechaRequerida($v1){
    $this->FechaRequerida = $v1; 
  }

  public function getFechaProgramada(){
    return $this->FechaProgramada;
  }
  public function setFechaProgramada($v1){
    $this->FechaProgramada = $v1; 
  }

  public function getFechaSalida(){
    return $this->FechaSalida;
  }
  public function setFechaSalida($v1){
    $this->FechaSalida = $v1; 
  }

  public function getFlete(){
    return $this->Flete;
  }
  public function setFlete($v1){
    $this->Flete = $v1; 
  }

  public function getTotalBruto(){
    return $this->TotalBruto;
  }
  public function setTotalBruto($v1){
    $this->TotalBruto = $v1; 
  }

  public function getNeto(){
    return $this->Neto;
  }
  public function setNeto($v1){
    $this->Neto = $v1; 
  }

  public function getObs(){
    return $this->Obs;
  }
  public function setObs($v1){
    $this->Obs = $v1; 
  }

  public function getStatus(){
    return $this->Status;
  }
  public function setStatus($v1){
    $this->Status = $v1; 
  }

  public function getCreaUsr(){
    return $this->CreaUsr;
  }
  public function setCreaUsr($v1){
    $this->CreaUsr = $v1; 
  }

  public function getCreaFecha(){
    return $this->CreaFecha;
  }
  public function setCreaFecha($v1){
    $this->CreaFecha = $v1; 
  }

  public function getModifUsr(){
    return $this->ModifUsr;
  }
  public function setModifUsr($v1){
    $this->ModifUsr = $v1; 
  }

  public function getModifFecha(){
    return $this->ModifFecha;
  }
  public function setModifFecha($v1){
    $this->ModifFecha = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto So_deliveryBN desde un RecordSet */
  public static function retrieveByRs( $o_So_deliveryRs )
  {
    $o_SoDeliveryBN = new SoDeliveryBN();
    $o_SoDeliveryBN->setId( $o_So_deliveryRs['id'] );
    $o_SoDeliveryBN->setTipo( $o_So_deliveryRs['tipo'] );
    $o_SoDeliveryBN->setDlvNum( $o_So_deliveryRs['dlvNum'] );
    $o_SoDeliveryBN->setAlmId( $o_So_deliveryRs['almId'] );
    $o_SoDeliveryBN->setClienteId( $o_So_deliveryRs['clienteId'] );
    $o_SoDeliveryBN->setClienteNombre( $o_So_deliveryRs['clienteNombre'] );
    $o_SoDeliveryBN->setContacto( $o_So_deliveryRs['contacto'] );
    $o_SoDeliveryBN->setDocReferNum( $o_So_deliveryRs['docReferNum'] );
    $o_SoDeliveryBN->setFacturaNum( $o_So_deliveryRs['facturaNum'] );
    $o_SoDeliveryBN->setMoneda( $o_So_deliveryRs['moneda'] );
    $o_SoDeliveryBN->setFechaRequerida( $o_So_deliveryRs['fechaRequerida'] );
    $o_SoDeliveryBN->setFechaProgramada( $o_So_deliveryRs['fechaProgramada'] );
    $o_SoDeliveryBN->setFechaSalida( $o_So_deliveryRs['fechaSalida'] );
    $o_SoDeliveryBN->setFlete( $o_So_deliveryRs['flete'] );
    $o_SoDeliveryBN->setTotalBruto( $o_So_deliveryRs['totalBruto'] );
    $o_SoDeliveryBN->setNeto( $o_So_deliveryRs['neto'] );
    $o_SoDeliveryBN->setObs( $o_So_deliveryRs['obs'] );
    $o_SoDeliveryBN->setStatus( $o_So_deliveryRs['status'] );
    $o_SoDeliveryBN->setCreaUsr( $o_So_deliveryRs['creaUsr'] );
    $o_SoDeliveryBN->setCreaFecha( $o_So_deliveryRs['creaFecha'] );
    $o_SoDeliveryBN->setModifUsr( $o_So_deliveryRs['modifUsr'] );
    $o_SoDeliveryBN->setModifFecha( $o_So_deliveryRs['modifFecha'] );
    return $o_SoDeliveryBN;
  }
}